<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>优惠券列表</title>
    <script src="/jquery/jquery-3.2.1.min.js"></script>
    <script src="/layui/layui.js"></script>
    <link rel="stylesheet" href="/layui/css/layui.css"/>
    <link rel="stylesheet" href="/css/coupon/userCoupons.css">
</head>
<body>
    <div class="layui-row">
        <div class="layui-col-xs12 layui-col-sm12 layui-col-md12">
            <div class="layui-card headerCenter">
                <div class="layui-card-header backColor">
                    优惠券查询
                    <div class="btnRight" style="margin-bottom: 10px">
                        <button onclick="refresh()" type="button" class="layui-btn layui-btn layui-btn-sm">
                            <i class="layui-icon layui-icon-refresh-1"></i>
                            刷新
                        </button>
                        <button onclick="backOff()" type="button" class="layui-btn layui-btn layui-btn-sm">
                            <i class="layui-icon layui-icon-return"></i>
                            返回
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--筛选查询-->
    <div class="layui-row">
        <div class="layui-col-xs12 layui-col-sm12 layui-col-md12">
            <div class="layui-card headerCenter">
                <div class="layui-card-header backColor" style=" font-size: 16px; height: 40px; font-weight: bold;">
                    <i class="layui-icon">&#xe615;</i>
                    筛选查询
                </div>
                <div class="layui-card-body">
                    <form lay-filter="searchForm" class="layui-form" style="margin-top: 5px">
                        <div class="layui-form-item">
                            <div class="fl">
                                <label class="layui-form-label fontsize" >用户账号：</label>
                                <div class="layui-input-inline" style="margin-right: -30px; padding-right: -30px">
                                    <input type="text" name="account" required lay-verify="required" placeholder="用户账号" autocomplete="off" class="layui-input inp">
                                </div>
                            </div>

                            <div class="fl">
                                <label class="layui-form-label fontsize" >用户名称：</label>
                                <div class="layui-input-inline" style="margin-right: -30px; padding-right: -30px">
                                    <input type="text" name="nickname" required lay-verify="required" placeholder="用户名称" autocomplete="off" class="layui-input inp">
                                </div>
                            </div>

                            <span style="float:right;">
                                    <button onclick="search()" type="button" class="layui-btn layui-btn-sm">
                                        <i class="layui-icon layui-icon-search"></i> 搜索
                                    </button>
                                    <button onclick="getUseCouponData()" type="reset" class="layui-btn layui-btn-warm layui-btn-sm">
                                        <i class="layui-icon layui-icon-refresh-1"></i> 重置
                                    </button>
                                </span>
                        </div>
                    </form>
                </div>
            </div>
            <div class="backColor ">
                <div class="backColor" style=" font-size: 16px; height: 40px; font-weight: bold; line-height: 50px; margin: 16px 0 0 20px">
                    <i class="layui-icon layui-icon-list"></i>
                    数据列表
                </div>
                <!--部门表格-->
                <div>
                    <table id="demo" lay-filter="test"></table>
                </div>
            </div>
        </div>
    </div>
</body>
    <script src="/js/coupon/userCoupons.js"></script>
</html>